module.exports = appInfo => {
  const config = exports = {};

  // use for cookie sign key, should change to your own and keep security
  config.keys = appInfo.name + '_1532331573163_9307';

  // Middleware Floor API version
  config.version = 'v1';

  // Close Default CSRF Security Defense
  config.security = {
    csrf: false,
    // domainWhiteList: [ 'http://localhost:8080' ]
  };

  // JWT Plugin Configure
  config.jwt = {
    secret: '123456',
  };


  // add your middleware here
  config.middleware = [];
  // config.middleware = ['auth'];

  return config;
};
